package org.lboot.flow.custom.eda.node;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.extern.slf4j.Slf4j;

import java.util.Map;
import java.util.Objects;

@EqualsAndHashCode(callSuper = true)
@Slf4j
@Data
@ApiModel(value = "触发器节点配置")
public class TriggerNodeConfig extends NodeConfig {
    @ApiModelProperty(value = "服务名称/地址")
    String service;

    @ApiModelProperty(value = "请求参数")
    Map<String, Objects> triggerParams;

    @ApiModelProperty(value = "执行脚本")
    String runScript;
}
